package ooday04.practice;

public class Chick extends Animal implements LayEggs{
    Chick(String name,int age,String kind ,String color){
        super(name, age, kind, color);
    }
    @Override
    void eat() {
        System.out.println(name+"小鸡正在吃小米");
    }

    @Override
    public void layEggs() {
        System.out.println(name+"小鸡正在下蛋");
    }
}
